Adwaita: parametric headerbar_fill highlight
authorLapo Calamandrei <calamandrei@gmail.com>
Tue, 2 Sep 2014 18:39:25 +0000 (20:39 +0200)
committerLapo Calamandrei <calamandrei@gmail.com>
Tue, 2 Sep 2014 18:39:25 +0000 (20:39 +0200)
gtk/resources/theme/Adwaita/_drawing.scss

index 3c309f3e4bd4aedf5df136a11a0fc54b48963a83..bb8690905a830f7e83be4d05e83dd39cee4d4de5 100644 (file)
   @return linear-gradient(to bottom, lighten($c,4%), $c);
 }
 
-@mixin headerbar_fill($c:$bg_color) {
+@mixin headerbar_fill($c:$bg_color, $hc:$top_hilight) {
+  //
+  // headerbar fill
+  //
+  // $c:  base color
+  // $hc: top highlight color
+  // 
   background-image: headerbar_gradient($c);
   box-shadow: inset 0 -1px mix($borders_color, $c, 30%), // bottom shade
-              inset 0 1px $top_hilight; // top highlight
+              inset 0 1px $hc; // top highlight
 
 }